<style>
	table{
		font-size:12px;
		width:1160px;
		text-align:center;
		border-collapse:collapse;
	}
	table tr td{
		border:1px solid #999;
		height:30px;
	}
	.tr_b td{
		font-weight:bold;
	}
</style>
<script>
	function del(){
			return confirm('确定要删除？');
	}

</script>
	<table>
		<tr class='tr_b'>
			<td>#编号</td>
			<td>会员名称</td>
			<td>id</td>
			<td>Emai</td>
			<td>积分</td>
			<td>注册时间</td>
			<td>操作</td>
		</tr>
<?php
	$i=0;
	foreach ($memData as $val):
?>
		<tr class='tr_n'>
			<td><?php echo ++$i; ?></td>
			<td><?php echo $val['username'] ?></td>
			<td><?php echo $val['id']; ?></td>
			<td><?php echo $val['email'] ?></td>
			<td><?php echo $val['level'] ?></td>
			<td><?php echo Date('Y-m-d H 时',$val['rtime']) ?></td>
			<td>
				<a href='/index.php/Admin/Member/update/id/<?php echo $val['id']?>'>修改</a>
				
				<a href='/index.php/Admin/Member/delete/id/<?php echo $val['id']?>'>删除</a>
			</td>
		</tr>
<?php
	endforeach;
?>

	</table>